set :deploy_to, "/opt/obt/#{application}"
set :deploy_via, :copy

# server username
set :user, "dreamers"
role :app, "dreamers@182.252.140.11", "dreamers@182.252.140.12", "dreamers@182.252.140.13", "dreamers@182.252.140.30", "dreamers@182.252.140.32", "dreamers@182.252.140.33", "dreamers@182.252.140.34"
set :copy_remote_dir, '/home/dreamers/tmp'

# Options.
# set :use_sudo, false
set :use_sudo, true
default_run_options[:pty] = true
